package com.zy.Domain;

public class Province
{
    private Integer id;
    private String name;

    public Province()
    {
        System.out.println("Province的无参构造方法被调用！");
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
    public void eat()
    {
        System.out.println("eat----");
    }
}
